import {NextRequest, NextResponse} from "next/server";
import {prisma} from "@/lib/db";

export async function GET(req: NextRequest) {
    const students = await prisma.student.findMany({
    })
    return NextResponse.json({students})
}